package org.heydr.common;

import java.util.concurrent.ConcurrentHashMap;

import org.heydr.entity.HttpSnatchParam;

public class RequestParamFactory {
	private static ConcurrentHashMap<String, HttpSnatchParam> requestParamMap = new ConcurrentHashMap<String, HttpSnatchParam>();
	
	public static HttpSnatchParam getRequestParam(String site){
		return requestParamMap.get(site);
	}

	public static void setRequestParamMap(ConcurrentHashMap<String, HttpSnatchParam> requestParamMap) {
		RequestParamFactory.requestParamMap = requestParamMap;
	}
	
}